package bean;

public class KoordinatBean {
	private Integer id;
	private double longitude;
	private double latitude;
	private boolean wesel;
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public double getLongitude() {
		return longitude;
	}
	public void setLongitude(double longitude) {
		this.longitude = longitude;
	}
	public double getLatitude() {
		return latitude;
	}
	public void setLatitude(double latitude) {
		this.latitude = latitude;
	}
	public boolean isWesel() {
		return wesel;
	}
	public void setWesel(boolean wesel) {
		this.wesel = wesel;
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + id;
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		KoordinatBean other = (KoordinatBean) obj;
		if (id != other.id)
			return false;
		return true;
	}
	
}
